package com.accp.reporter.pojo;

//稿件信息表
public class Draft {
    private int id;
    private String title;
    private String username;
    private String draftClass;
    private String draftType;
    private String content;
    private int stateId;

    public Draft(String title, String username, String draftClass, String draftType, String content) {
        this.title = title;
        this.username = username;
        this.draftClass = draftClass;
        this.draftType = draftType;
        this.content = content;

    }

    public Draft() {
    }

    @Override
    public String toString() {
        return "Draft{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", username='" + username + '\'' +
                ", draftClass='" + draftClass + '\'' +
                ", draftType='" + draftType + '\'' +
                ", content='" + content + '\'' +
                ", stateId=" + stateId +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getDraftClass() {
        return draftClass;
    }

    public void setDraftClass(String draftClass) {
        this.draftClass = draftClass;
    }

    public String getDraftType() {
        return draftType;
    }

    public void setDraftType(String draftType) {
        this.draftType = draftType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getStateId() {
        return stateId;
    }

    public void setStateId(int stateId) {
        this.stateId = stateId;
    }
}
